var map = new BMap.Map('map')
var point = new BMap.Point(114.229202, 30.53884)
var marker = new BMap.Marker(point)
var label = new BMap.Label("我在这里哟", {
    position: point,
    offset: new BMap.Size(-80, -20)
})
map.centerAndZoom(point, 17)
map.addOverlay(marker)
map.addOverlay(label)
//marker.setAnimation(BMAP_ANIMATION_BOUNCE)

function toggleMap() {
    var clzs = document.getElementById('map').classList
    if (clzs.contains("hide")) {
        clzs.remove("hide")
    } else {
        clzs.add("hide")
    }
}